//
//  HJEmojiCell.m
//  KaiChat
//
//  Created by lx on 2023/11/17.
//

#import "HJEmojiCell.h"

@implementation HJEmojiCell

- (HJEmojiCell *)initWithFrame:(CGRect)frame {
    if(self = [super initWithFrame:frame]) {
        [self setupViews];
    }
    return self;
}

- (void)setupViews {
    _emojiLabel = [[UILabel alloc] init];
    _emojiLabel.font = UIFontMake(25);
    _emojiLabel.textAlignment = NSTextAlignmentCenter;
    [self addSubview:_emojiLabel];
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    CGSize size = self.frame.size;
    _emojiLabel.frame = CGRectMake(0, 0, size.width, size.height);
}

@end


